package config

const (
	Kp0  = 82
	Kp1  = 79
	Kp2  = 80
	Kp3  = 81
	Kp4  = 75
	Kp5  = 76
	Kp6  = 77
	Kp7  = 71
	Kp8  = 72
	Kp9  = 73
	Num1 = 2
	Num2 = 3
	Num3 = 4
	Num4 = 5
	Num5 = 6
	Num6 = 7
	Num7 = 8
	Num8 = 9
	Num9 = 10
	Num0 = 11
	F1   = 59
	F2   = 60
	F3   = 61
	F4   = 62
	F5   = 63
	F6   = 64
	F7   = 65
	F8   = 66
	F9   = 67
	F10  = 68
	F11  = 69
	F12  = 70
)

var (
	// 用于数据同步，当播放完毕的时候，回调函数中通过chan通知主goroutine
	//done = make(chan struct{})

	Cfg    map[string]string
	KeyMap = map[string]uint16{
		"Kp0":  Kp0,
		"Kp1":  Kp1,
		"Kp2":  Kp2,
		"Kp3":  Kp3,
		"Kp4":  Kp4,
		"Kp5":  Kp5,
		"Kp6":  Kp6,
		"Kp7":  Kp7,
		"Kp8":  Kp8,
		"Kp9":  Kp9,
		"Num1": Num1,
		"Num2": Num2,
		"Num3": Num3,
		"Num4": Num4,
		"Num5": Num5,
		"Num6": Num6,
		"Num7": Num7,
		"Num8": Num8,
		"Num9": Num9,
		"Num0": Num0,
		"F1":   F1,
		"F2":   F2,
		"F3":   F3,
		"F4":   F4,
		"F5":   F5,
		"F6":   F6,
		"F7":   F7,
		"F8":   F8,
		"F9":   F9,
		"F10":  F10,
		"F11":  F11,
		"F12":  F12,
	}
)
